package com.lanqiao.testwork01;

public class Computer {
	//属性
	private int cpu;
	private char color;

	//构造方法
	public Computer() {
		
	}
	
	public Computer(char color,int cpu) {
		this.color = color;
		this.cpu = cpu;
	}
	
	public void prf() {
		System.out.println("笔记本颜色为：" + color + "，cpu型号为： " + cpu);
	}
}
